home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v2.1 / Amiga Developer CD v2.1.iso / CD32 / CD32_Support / s / cd-startup next >
Text File  |  1993-10-17  |  797b  |  22 lines

  1.  
  2. ;   Example cd-startup file executed when the application's icon
  3. ;   residing on the application's CD is double-clicked.
  4.  
  5. Assign >NIL: SYS:  CD0:     add     ; Multi-Assign primary directories
  6. Assign >NIL: C:    CD0:C    add
  7. Assign >NIL: L:    CD0:L    add
  8. Assign >NIL: S:    CD0:S    add
  9. Assign >NIL: DEVS: CD0:DEVS add
  10. Assign >NIL: LIBS: CD0:LIBS add
  11.  
  12. stack 4096                          ; Make sure your stack size is big enough
  13. cd CD0:                             ; CD to the CD (if necessary)
  14. CD0:MyApplication                   ; Run your application
  15.  
  16. Assign >NIL: SYS:  CD0:     remove  ; Remove multi-assignments
  17. Assign >NIL: C:    CD0:C    remove
  18. Assign >NIL: L:    CD0:L    remove
  19. Assign >NIL: S:    CD0:S    remove
  20. Assign >NIL: DEVS: CD0:DEVS remove
  21. Assign >NIL: LIBS: CD0:LIBS remove
  22.